---------------------
-- Robotic Panel   --
---------------------
-- A Cirr Creation --
---------------------
-- Bootloader for the panel Lua files.
-- This way I have better control over the order
-- in which files load first.

Panels = Panels or {} -- The table of functions and values we'll use

function Panels.LoadPanelFiles()
  
  MsgN("=========================================")
  MsgN("=           ROBOTIC PANEL SENT          =")
  MsgN("= By Cirrial, 2008, All Rights Reversed =")
  MsgN("=========================================")
  MsgN("Loading commencing...")
  
  local FileLoadOrder = {
  
    "panels/panel_config.lua",
    "panels/panel_movements.lua",
    "panels/panel_behaviours.lua",
    "panels/panel_communication.lua"
    
  }
  
  for k,path in pairs(FileLoadOrder) do
    
    MsgN("Loading: "..path)
    include(path)
    
  end
  
  MsgN("All loading complete!")
  MsgN("=========================================")
  
  
end

if(SERVER) then
  Panels.LoadPanelFiles()
end